home *** CD-ROM | disk | FTP | other *** search
/ Dos/V Magazine 1995 October 15 / CD [VMAG951015].bin / _demo / prowres / shared.dxr / 01482_ãópÉnÉìÉhÉâ.ls < prev    next >
Encoding:
Text File  |  1995-08-07  |  980 b   |  41 lines

  1. global nmaxpage, nminipage, syearstr, snextmovie, spastmovie, nnextfn, lmaxpagelist, lyearlist, presp, memframelabel
  2.  
  3. on mspriteset spno, ppsp, sptype, spink, castno, lh, lv
  4.   puppetSprite(spno, ppsp)
  5.   set the type of sprite spno to sptype
  6.   set the ink of sprite spno to spink
  7.   if lh < 640 then
  8.     set the locH of sprite spno to lh
  9.   end if
  10.   if lv < 480 then
  11.     set the locV of sprite spno to lv
  12.   end if
  13.   if 0 < castno then
  14.     set the castNum of sprite spno to castno
  15.   else
  16.     if (spno = 11) or (spno = 12) or (spno = 13) or (spno = 14) then
  17.       set the type of sprite spno to 0
  18.     end if
  19.   end if
  20. end
  21.  
  22. on mpstypez ptzf, ptzt, typez
  23.   repeat with tmpsp = ptzf to ptzt
  24.     set the type of sprite tmpsp to typez
  25.   end repeat
  26. end
  27.  
  28. on mpstorf ptff, ptft, torf
  29.   repeat with tmpsp = ptff to ptft
  30.     puppetSprite(tmpsp, torf)
  31.   end repeat
  32. end
  33.  
  34. on mfincur fcf, fct
  35.   repeat with tmpsp = fcf to fct
  36.     if rollOver(tmpsp) then
  37.       cursor(280)
  38.     end if
  39.   end repeat
  40. end
  41.